/*
 * @FileDescription: table form表格页面混入
 * @Author: zsf
 * @Date: 2021-04-30 07:57:14
 * @LastEditors: zsf
 * @LastEditTime: 2021-05-03 14:31:54
 */
const mixin = {
  data() {
    return {
      dataSource: [
        {
          key: '0',
          phone: '17749825008',
          address1: '李三都',
          address2: '异常',
          address3: '2021-12-111:12:04',
          address4: '广东省-深圳市-宝安区',
          address5: '100.00',
        },
        {
          key: '1',
          phone: '17749825008',
          address1: '李三都',
          address2: '异常',
          address3: '2021-12-111:12:04',
          address4: '广东省-深圳市-宝安区',
          address5: '100.00',
        },
      ],
      selectedRowKeys: [],
      pagination: {
        total: 50,
        showSizeChanger: true,
        showQuickJumper: true,
        pageSize: 25,
        current: 0,
        pageSizeOptions: ['10', '25', '50', '100']
      },
    }
  },
  methods: {
    /**
     * 分页变化回调
     */
    tableChange(pagination) {
      this.pagination = pagination;
    },
    /**
     * 表格选择回调
     */
    onSelectChange(selectedRowKeys) {
      this.selectedRowKeys = selectedRowKeys;
    },
    search() {
      
    },
    /**
     * @name: 表格操作
     */
    operation() {

    }
  }
}

export default mixin;